package v1

import (
	"gohub/app/models/feature"
	"gohub/pkg/response"

	"github.com/gin-gonic/gin"
)

type FeatureController struct {
	BaseAPIController
}

// Index 所有
func (ctrl *FeatureController) Index(c *gin.Context) {
	data := feature.All()
	response.Data(c, data)
}
